package com.xu.service.impl;

import com.xu.service.IDepartment;
import com.xu.service.IFactory;
import com.xu.service.IUser;

/**
 *
 * @author xudenghui
 * @create 2023-08-01 9:20
 **/
public class MysqlFactory implements IFactory {

    public IUser createUser() {
        return new MysqlUser();
    }

    public IDepartment createDepartment() {
        return new MysqlDepartment();
    }
}
